import setupWebViewJavascriptBridge from './javascriptBridge'
import browser from './browser'
import modules from './modules'

class JsApi {
    constructor() {
        this.browser = browser
        Object.assign(this, modules)
    }
}
if (window.JsApi) {
    window.JsApi = new JsApi()
}
export default JsApi